//
//  PanelDetailCell.m
//  ProjectOneDemo
//
//  Created by dllo on 16/5/18.
//  Copyright © 2016年 wjg. All rights reserved.
//

#import "PanelDetailCell.h"
#define WIDTH [UIScreen mainScreen].bounds.size.width
@implementation PanelDetailCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    
    self.contentView.backgroundColor = [UIColor whiteColor];
    
    self.picImageView = [[UIImageView alloc]init];
    self.picImageView.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.picImageView];

    
    
    
    self.nameLabel = [[UILabel alloc]init];
    self.nameLabel.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.nameLabel];
    
    
    

    

    
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.nameLabel.frame = CGRectMake(150, 15, 120, 40);
    
    self.picImageView.frame = CGRectMake(10, 5, 120, 60);
    

}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
